"use strict";
var nrc = require('node-run-cmd');
module.exports.getPromise = function (cmd) {
	return new Promise(function (resolve, reject) {
		nrc.run(cmd, { onData: data => { resolve(data) }, onError: data => { reject(data) } });
	});
}
